package com.zwj.mapper;

import com.zwj.bo.RoleBo;
import com.zwj.bo.UserBo;
import com.zwj.entity.SysUserEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * <p>
 * 用户表 Mapper 接口
 * </p>
 *
 * @author zwj
 * @since 2021-10-27
 */
@Mapper
public interface SysUserMapper extends BaseMapper<SysUserEntity> {

    List<Object> selectUser(UserBo userBo); //条件查询用户

    List<Object> selectUserRole(RoleBo roleBo);

    List<Object> selectUserRole1(RoleBo roleBo);

    String selectNameById(String userID);
}
